package com.badou.project.rest.dao.impl;

import javax.annotation.Resource;

import org.hibernate.SessionFactory;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;

import com.badou.designer.jdbc.core.dao.impl.BaseModuleDAO;
import com.badou.project.rest.dao.IBaseRestDAO;

@Transactional 
@Repository
public class BaseRestDAO extends BaseModuleDAO implements IBaseRestDAO {
	
    @Resource  
    public void setSessionFacotry(SessionFactory sessionFactory) {  
        super.setSessionFactory(sessionFactory);  
    }  
}
